package com.briup.myblog.service;

import com.briup.myblog.bean.basic.BaseLog;
import com.briup.myblog.bean.basic.BaseUser;
import com.github.pagehelper.PageInfo;

public interface IBaseUserService {
    String login(String username,String password);
    void addUser(BaseUser user);
    void deleteUserById(Integer id);
    PageInfo<BaseUser> findUserByPageHelper(Integer role,String username,int pageNum,int pageSize);
    void updateUser(BaseUser user);
    void updateUserIcon(int id,String alterUserIcon);
    BaseUser currentUserInfo(String token);

}
